package com.funny.live.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.funny.live.common.core.domain.BaseEntity;
import lombok.*;

/**
 * 书籍类型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@TableName("book_type")
public class BookType extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long typeId;

    /**书籍类型类型*/
    @TableField("type")
    private String type;
}
